home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3frlibo.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.2 KB  |  117 lines

  1.  
  2. // JavaScript wrapper for r3frlibo.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_FRLIBOBJECT_H = 1;
  7. include("real/raytr/r3frbob.js")
  8.  
  9.  
  10. var R3CLID_FRLIBOBJECT = 709;
  11.  
  12.  
  13.  
  14.  
  15.  
  16. R3FRLOM_INSERT = 709000;
  17.  
  18. function mR3FRLOM_INSERT() {
  19.   DoA(this.r3obj, 709000, 0, R3TID_INTEGER, 0);
  20. }
  21.  
  22.  
  23. R3FRLOM_END = 709001;
  24.  
  25. function mR3FRLOM_END() {
  26.   DoA(this.r3obj, 709001, 0, R3TID_INTEGER, 0);
  27. }
  28.  
  29. // Description: Reports which channels are being used (outputted). This can be used to * eliminate
  30. //      operations that depend on channel usage.
  31.  
  32. R3FRLOM_CHANNELUSAGE = 709002;
  33.  
  34. function mR3FRLOM_CHANNELUSAGE() {
  35.   DoA(this.r3obj, 709002, 0, R3TID_INTEGER, 0);
  36. }
  37.  
  38. // Description: reports all libraries to all lib objects for cross linking
  39.  
  40. R3FRLOM_LINK = 709003;
  41.  
  42. function mR3FRLOM_LINK() {
  43.   DoA(this.r3obj, 709003, 0, R3TID_INTEGER, 0);
  44. }
  45.  
  46. // Description: This method is called whenever any changes happens in the * library objects and
  47. //      before the objects are used. * The library base class can execute initialization actions in
  48. //      this method.
  49. // p1: Number, global animation time value.
  50. // p2: Object, raysample defining channel config
  51. // p3: r3List, ptr to the current library object list related to this base class 
  52.  
  53. R3FRLOCM_INITLIBRARY = 709004;
  54.  
  55. function mR3FRLOCM_INITLIBRARY(p1, p2, p3) {
  56.   DoA3(this.r3obj, 709004, p1, R3TID_FLOAT, 0, p2, R3TID_OBJECT, 0, p3, R3TID_LIST, 0);
  57. }
  58.  
  59. // Description: Ask all library objects that use R3CLID_RIMAGE object for textures etc. to do *
  60. //      the image search. This is used in network rendering situation to synchronize image data transfers.
  61. //      If the texture is not found, objects do nothing - they may return failure
  62. //      later in other * link methods.
  63.  
  64. R3FRLOM_REFRESHIMAGES = 709005;
  65.  
  66. function mR3FRLOM_REFRESHIMAGES() {
  67.   DoA(this.r3obj, 709005, 0, R3TID_INTEGER, 0);
  68. }
  69.  
  70. // Description: Enumerate object and its sub objects by * R3DoA2(callbackobj, cbmth, p3, enumobj); * Enumeration
  71. //      stops if callback returns FALSE.
  72. // p1: Object, callback object
  73. // p2: Integer, callback method
  74. // p3: Object, enumeration context    
  75.  
  76. R3FRLOM_ENUMERATE = 709006;
  77.  
  78. function mR3FRLOM_ENUMERATE(p1, p2, p3) {
  79.   DoA3(this.r3obj, 709006, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
  80. }
  81.  
  82.  
  83.  
  84.  
  85. R3FRLOA_CancelIndicator = 709500;
  86. function SetR3FRLOA_CancelIndicator(value) {
  87.   R3Set(this.r3obj, R3FRLOA_CancelIndicator, value, R3TID_INTEGER, R3TNF_ARRAY); 
  88. }
  89.  
  90. R3FRLOA_RenderEngine = 709501;
  91. function SetR3FRLOA_RenderEngine(value) {
  92.   R3Set(this.r3obj, R3FRLOA_RenderEngine, value, R3TID_OBJECT, 0); 
  93. }
  94.  
  95.  
  96.  
  97. function r3Frlibobject () { 
  98.    this.base = r3God;
  99.    if(arguments.length) {
  100.       this.base(R3CLID_FRLIBOBJECT, arguments);
  101.    }
  102.    // Methods
  103.    this.INSERT=mR3FRLOM_INSERT;
  104.    this.END=mR3FRLOM_END;
  105.    this.CHANNELUSAGE=mR3FRLOM_CHANNELUSAGE;
  106.    this.LINK=mR3FRLOM_LINK;
  107.    this.INITLIBRARY=mR3FRLOCM_INITLIBRARY;
  108.    this.REFRESHIMAGES=mR3FRLOM_REFRESHIMAGES;
  109.    this.ENUMERATE=mR3FRLOM_ENUMERATE;
  110.  
  111.    // Attributes
  112.    this.SetCancelIndicator=SetR3FRLOA_CancelIndicator;
  113.    this.SetRenderEngine=SetR3FRLOA_RenderEngine;
  114. }
  115.  
  116. r3Frlibobject.prototype=new r3Frbaseobject;
  117. // r3frlibo.h_H